package com.amumu.drama.common.modules.category.mapping;

import com.amumu.drama.common.base.mapstruct.BaseMapping;
import com.amumu.drama.common.modules.category.vo.GameSkuVo;
import com.amumu.drama.model.PmsSkuStock;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * @author sunzhuang
 * @date 2024/9/10 13:57
 * @slogan 天下风云出我辈, 一入代码岁月催
 * @desc todo
 */
@Mapper(componentModel = "spring")
public interface GameSkuVoMapping extends BaseMapping<PmsSkuStock, GameSkuVo> {
    GameSkuVoMapping INSTANCE = Mappers.getMapper(GameSkuVoMapping.class);
    /**
     * 正向映射的后置处理，List映射会自动继承此配置
     *
     * @param src
     * @param dest
     */
    @Override
    default void afterConvertTo(PmsSkuStock src, GameSkuVo dest) {

    }
}
